﻿@model IEnumerable<Metro.Kashikoi.Web.ViewModels.InventoryListItemViewModel>
<p>
</p>
<table>
    <tr>
        <th>
            Name
        </th>
        <th>
            Quantity
        </th>
        <th>
            SplitQuantity
        </th>
        <th>
            Unit
        </th>
        <th>
            SSID
        </th>
        <th>
            Status Code
        </th>
        <th>
            Stock Area
        </th>
        <th>
            Stock Item
        </th>
        <th>
        </th>
        <th>
        </th>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>
                @item.Name
            </td>
            <td>
                @item.Quantity
            </td>
            <td>
                @item.SplitQuantity
            </td>
            <td>
                @item.Unit
            </td>
            <td>
                @item.SSID
            </td>
            <td>
                @item.StockStatus
            </td>
            <td>
                @item.StockArea.Name
            </td>
            <td>
                @item.Item.Name
            </td>
            <td>
                @Html.ActionLink("Edit", "EditStockItemMap", new { id = item.Id })
            </td>
            <td>
                @Html.ActionLink("Delete", "DeleteStockItemMap", new { id = item.Id })
            </td>
        </tr>
    }
</table>
